﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Luna;
using System.IO;

namespace VulnDBExplorer.Services.Impl {
	
	class CVSRepository : Repository {

	}

	class CVSCodebase : Codebase {
		
		public override string getRelativePath(string filename) {
			int idx = filename.IndexOf("mozilla\\");
			if (idx >= 0)
				return filename.Substring(idx + "mozilla\\".Length);
			return filename;
		}

		public override string getFullPath(string filename) {
			return Path.Combine(Folder, "mozilla", filename);
		}
	}
}
